<div class="loginContainer">
  <div class="login">
    <div class="login-title">登录</div>
    <div class="login-main">
      <form #loginform="ngForm">
        <ul class="login-list">
          <li class="users">
            <input name="username" type="text" placeholder="请输入用户名" [(ngModel)]="username" #usernameControl="ngModel">
          </li>
          <li class="password">
            <input name="password" type="password" placeholder="请输入密码" [(ngModel)]="password" #passwordControl="ngModel">
          </li>
          <li class="loginBut">
            <button type="submit" (click)="login(loginform.form.value)">登录</button>
          </li>
        </ul>
      </form>
      <div class="login-info-fotter">
        <a class="forget" href="javascript:">忘记密码？</a>
        <a class="register_new_user" href="javascript:">注册新用户</a>
      </div>
    </div>
  </div>
</div>
